<template>
    <nav>
        <div>
            <router-link class="no-link-border" to="/">
            <img>
            </router-link>
        </div>
        <li>
            <router-link class="no-link-border" to="/">首页</router-link>
        </li>
        <li>
            <router-link class="no-link-border" to="/music">音乐</router-link>
        </li>
        <li>
            <router-link class="no-link-border" to="/about">关于</router-link>
        </li>
    </nav>
</template>

<script>
export default {
    name: 'navigation',
    data() {
        return {
            
        }
    },
    
}
</script>

<style scoped>
nav {
    background-color: #001529;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
    width: 15%;
    border: 1px solid slategray;
}
nav li {
    list-style: none;
    border-bottom: 1px solid slategray;
    width: 100%;
    min-height: 35px;
    line-height: 35px;
}
.no-link-border{
    text-decoration: none;
    color: hsla(0, 0%, 100%, .85);
}
nav li:hover {
    background-color: #c81321;
}

</style>